package cn.px.sa.admin.module.xjgl.ginspectionlinespoints.domain.form;

import io.swagger.v3.oas.annotations.media.Schema;
import java.time.LocalDateTime;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * 巡检点位 更新表单
 *
 * @author 品讯科技
 * @date 2024-08
 * @Copyright 1
 */

@Data
public class GInspectionLinesPointsUpdateForm {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "id 不能为空")
    private Long id;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "名称 不能为空")
    private String name;

    @Schema(description = "经度", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "经度 不能为空")
    private String longitude;

    @Schema(description = "纬度", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "纬度 不能为空")
    private String latitude;

    @Schema(description = "线路id")
    private Long lineId;

    @Schema(description = "组织机构")
    private Long deptId;

    @Schema(description = "所属灌区")
    private Long gqId;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "创建人")
    private Long createUser;

    @Schema(description = "修改时间")
    private LocalDateTime modifyTime;

    @Schema(description = "修改人")
    private Long modifyUser;

}
